package com.test.practice.oo.finalStatic;

public class FinalTest1 {

    public static void main(String[] args) {

    }

    public void f1() {
        System.out.println("f1");
    }

    /**
     * 无法被子类覆盖的f2
      */
    public final void f2() {
        System.out.println("final1 f2");
    }

    public void f3() {
        System.out.println("f3");
    }

    private void f4() {
        System.out.println("f4");
    }

}
